/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bean;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 * @author Juan Carlos Cori Poma
 * @version 1.0
 */
@ManagedBean
@SessionScoped
public class DemoBean {
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public String sayHello(){
        return "Hello Mr. "+userName;
    }
}
